<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p>BOM（Browser Object Model）浏览器对象</p>
<p>包括window、document、location，form,history对象</p>
<a href="www.baidu.com">baidu</a>
<script>
    console.log(window.innerWidth+':'+window.innerHeight);
    console.log(document.documentElement.clientWidth+':'+document.documentElement.clientHeight);
    console.log(document.body.clientWidth+':'+document.body.clientHeight);

    console.log(location)
    console.log(history)
</script>
</body>
</html>